package com.example.demo.service;

import com.example.demo.entity.Storage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 库存表 服务类
 * </p>
 *
 * @author ElonChung
 * @since 2020-05-13
 */
public interface StorageService extends IService<Storage> {

    void reduceStorage(Integer goodsId, Integer count);

    void freeze(Integer goodsId, Integer count);

    void unfreeze(Integer goodsId, Integer count);
}
